{block content}
    <h1>Fialky</h1>


    <div id="necoonas">
    <h2>O nás:</h2>
        <ul>
            <li> Nic si tu nenapsaly! </li>
            <li> Fialkovský kalendář <a href="./kalendar.php?oddil=2">zde</a> </li>
        </ul>
    </div>

    <div id="aktualne">
       <h2>Aktualně v oddílě:</h2>
       <ul>
            {foreach $oddilAktuality as $aktualita}
                <li><a href='./aktuality.php#{!$aktualita->id}'>{!$aktualita->nadpis}</a></li>
            {/foreach}
       </ul>
    </div>
   <h3>A toto jsme my:</h3>
   <div id="clenove">
        {foreach $cleni as $clen}
       {!$clen->oddil}
            <div class="clen"><h4>{!$clen->nick}</h4>
                <div class="clenobsah">
                    <div class="clenfoto">
                        {var $fotka=$clen->foto}
                        {if $fotka==null OR $fotka==" " OR $fotka==NULL or $fotka=="null" or $fotka=="NULL"}
                            {var $fotka="default.gif"}
                        {/if}
                        <img src="{$basePath}/images/{$oddil}/{$fotka}" width="125px" alt="$foto">
                        <div class="frcky">
                            {!$clen->frcky}
                        </div>
                    </div>
                    <div class="clenmezi"></div>
                {!$clen->jmeno}
                {!$clen->celek}
                </div>
            </div>
        {/foreach}
   </div>